﻿ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1 {
    padding: 0;
    margin: 0;
    font-family: Arial,'Microsoft YaHei';
    font-weight: bold;
}

#layout {
    padding: 2em;
    margin: 0 auto;
}

    #layout header {
        position: relative;
        height: 4.5em;
        margin: 0 0 1em 0;
    }

        #layout header h1 {
            font-size: 1.5em;
            line-height: 1.5em;
            text-align: center;
            display: block;
            margin: 0 auto;
            width: 4em;
            padding: 0;
            border-bottom: 1px solid #ccc;
        }

        #layout header aside {
            position: absolute;
            right: 1em;
            top: 0;
        }

            #layout header aside:last-child {
                right: auto;
                left: 1em;
            }

            #layout header aside img {
                height: 4.5em;
            }

    #layout div.line {
        line-height: 1.5em;
        padding: 1em;
        border-bottom: 1px solid #ccc;
        border: 1px solid #ccc;
    }


        #layout div.line div.item {
            position: relative;
            padding: 0 0 0 5.5em;
            display: inline-block;
        }

            #layout div.line div.item label {
                position: absolute;
                left: 0;
                top: 0;
                width: 5em;
                text-align: right;
                display: inline-block;
                line-height: 2em;
            }

            #layout div.line div.item .input_c {
            }

                #layout div.line div.item .input_c input {
                    height: 2em;
                }

            #layout div.line div.item:last-child {
                float: right;
            }

    #layout div.table_c {
        overflow: hidden;
        overflow-y: auto;
        height: 32.5em;
    }

        #layout div.table_c table {
            width: 100%;
            border: 1px solid #999;
            border-collapse: collapse;
        }

            #layout div.table_c table tr td {
                padding: 0.5em 0 0.5em 0.5em;
                line-height: 1.2em;
                border-right: 1px solid #ccc;
                border-bottom: 1px solid #ccc;
                text-align: center;
            }

            #layout div.table_c table tr:last-child td {
                border-bottom: none;
            }

            #layout div.table_c table tr:first-child td {
                visibility: hidden;
                height: 0;
                line-height: 0;
            }

            #layout div.table_c table tr td:last-child {
                border-right: none;
            }

            #layout div.table_c table tr:last-child td {
                height: 32em;
            }

                #layout div.table_c table tr:last-child td img {
                    height: 25em;
                    display: block;
                    margin: 0 auto;
                }

            #layout div.table_c table tr td select {
                width: 88%;
                height: 2em;
                display: inline-block;
                margin: 0.1em 0.2em 0 0;
            }

            #layout div.table_c table tr td input.txt_line {
                width: 88%;
                height: 2em;
                display: inline-block;
                margin: 0.1em 0.2em 0 0;
            }

            #layout div.table_c table tr td input.txt_short_line {
                display: inline-block;
                width: 4.5em;
                height: 2em;
            }

            #layout div.table_c table tr td input.txt_muti_line {
            }

            #layout div.table_c table tr td label {
                width: 1em;
                margin: 0 auto;
            }

            #layout div.table_c table tr td.center {
                text-align: center;
            }

                #layout div.table_c table tr td.center label {
                }

            #layout div.table_c table tr td div.input_c {
            }

            #layout div.table_c table tr:first-child td:nth-child(1) {
                width: 4.9%;
            }

            #layout div.table_c table tr:first-child td:nth-child(2) {
                width: 5.1%;
            }

            #layout div.table_c table tr:first-child td:nth-child(3) {
                width: 6.8%;
            }

            #layout div.table_c table tr:first-child td:nth-child(4) {
                width: 2.8%;
            }

            #layout div.table_c table tr:first-child td:nth-child(5) {
                width: 4.2%;
            }

            #layout div.table_c table tr:first-child td:nth-child(6) {
                width: 6.3%;
            }

            #layout div.table_c table tr:first-child td:nth-child(7) {
                width: 2.6%;
            }

            #layout div.table_c table tr:first-child td:nth-child(8) {
                width: 4.2%;
            }

            #layout div.table_c table tr:first-child td:nth-child(9) {
                width: 4.3%;
            }

            #layout div.table_c table tr:first-child td:nth-child(10) {
                width: 2.0%;
            }

            #layout div.table_c table tr:first-child td:nth-child(11) {
                width: 1.3%;
            }

            #layout div.table_c table tr:first-child td:nth-child(12) {
                width: 6.8%;
            }


            #layout div.table_c table tr:first-child td:nth-child(13) {
                width: 2.6%;
            }

            #layout div.table_c table tr:first-child td:nth-child(14) {
                width: 5.5%;
            }

            #layout div.table_c table tr:first-child td:nth-child(15) {
                width: 6.3%;
            }

            #layout div.table_c table tr:first-child td:nth-child(16) {
                width: 2.6%;
            }

            #layout div.table_c table tr:first-child td:nth-child(17) {
                width: 2.1%;
            }

            #layout div.table_c table tr:first-child td:nth-child(18) {
                width: 4.6%;
            }

            #layout div.table_c table tr:first-child td:nth-child(19) {
                width: 1.7%;
            }

            #layout div.table_c table tr:first-child td:nth-child(20) {
                width: 11.4%;
            }

            #layout div.table_c table tr:first-child td:nth-child(21) {
                width: 11.8%;
            }

    #layout footer {
        border: #ccc 1px solid;
        padding: 0.5em 1em;
        margin: 0.8em 0 0 0;
    }

        #layout footer a {
            display: inline-block;
        }

        #layout footer .r {
            float: right;
        }

[clear] {
    clear: both;
}
